﻿using System;
using System.Collections.Generic;
using System.Text;
using OgilvyOne.Model;

namespace OgilvyOne.BLL
{
    public class CmsVo
    {
        private int aid; //文章ID
        public int Aid
        {
            get { return aid; }
            set { aid = value; }
        }
        private int cid; //栏目ID
        public int Cid
        {
            get { return cid; }
            set { cid = value; }
        }
        private int pagenum =1; //当前页码
        public int Pagenum
        {
            get { return pagenum; }
            set { pagenum = value; }
        }
        private int pagesize = 10; //每页大小
        public int Pagesize
        {
            get { return pagesize; }
            set { pagesize = value; }
        }
        private string q; //查询文字
        public string QueryKey
        {
            get { return q; }
            set { q = value; }
        }
        private int preview = 0; //是否预览 1是
        public int Preview
        {
            get { return preview; }
            set { preview = value; }
        }

        private int tid;//模板ID
        public int Tid
        {
            get { return tid; }
            set { tid = value; }
        }

        private int year = DateTime.Now.Year;       //文章年查询，默认当前年
        public int Year
        {
            get { return year; }
            set { year = value; }
        }
        private int month = DateTime.Now.Month;      //文章月查询，默认当前月
        public int Month
        {
            get { return month; }
            set { month = value; }
        }


        private ModelManageModel templateInfo; //模板
        public ModelManageModel TempInfo
        {
            get { return templateInfo; }
            set { templateInfo = value; }
        }
        private CmsArticleModel cmsArticleInfo; //文章
        public CmsArticleModel CmsArticleInfo
        {
            get { return cmsArticleInfo; }
            set { cmsArticleInfo = value; }
        }

        private string layerid;
        public string Layerid
        {
            get { return layerid; }
            set { layerid = value; }
        }
        //是否正执行生成HTML文件操作
        private bool isHtmlFile = false;
        public bool IsHtmlFile
        {
            get { return isHtmlFile; }
            set { isHtmlFile = value; }
        }
    }
}
